package com.one.group.model.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;


/**
* 楼栋表
* @TableName sp_building
*/
@Data
@Table("sp_building")
public class SpBuilding implements Serializable {

    /**
    * 楼宇id
    */
    @Id(keyType = KeyType.Auto)
    private Long id;
    /**
    * 楼栋名称
    */
    private String name;
    /**
    * 楼宇朝向
    */
    private String orientation;
    /**
    * 楼高(米)
    */
    private BigDecimal heightM;
    /**
    * 楼宇结构
    */
    private String structure;
    /**
    * 单元数
    */
    private Integer unitCount;
    /**
    * 楼层数
    */
    private Integer floorCount;
    /**
    * 创建时间
    */
    private Date createdTime;
    /**
    * 更新时间
    */
    private Date updatedTime;
    /**
    * 收费标准id
    */
    private Long housechragetype;
    /**
    * 楼宇类型id
    */
    private Long buildingtypeId;
    /**
    * 租户id
    */
    @Column(tenantId = true)
    private Long tenantId;
}
